#ifndef __htmlapp_h__
#define __htmlapp_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "types.h"

#ifndef __IHTMLAppBehavior_FWD_DEFINED__
#define __IHTMLAppBehavior_FWD_DEFINED__
typedef interface IHTMLAppBehavior IHTMLAppBehavior;
#endif     /* __IHTMLAppBehavior_FWD_DEFINED__ */

#ifndef __IHTMLAppBehavior2_FWD_DEFINED__
#define __IHTMLAppBehavior2_FWD_DEFINED__
typedef interface IHTMLAppBehavior2 IHTMLAppBehavior2;
#endif     /* __IHTMLAppBehavior2_FWD_DEFINED__ */

#ifndef __IHTMLAppBehavior3_FWD_DEFINED__
#define __IHTMLAppBehavior3_FWD_DEFINED__
typedef interface IHTMLAppBehavior3 IHTMLAppBehavior3;
#endif     /* __IHTMLAppBehavior3_FWD_DEFINED__ */
typedef enum _HTMLAppFlag
{
    HTMLAppFlagNo = 0,
    HTMLAppFlagOff = 0,
    HTMLAppFlag0 = 0,
    HTMLAppFlagYes = 1,
    HTMLAppFlagOn = 1,
    HTMLAppFlag1 = 1,
    HTMLAppFlag_Max = 2147483647L
} HTMLAppFlag;


EXTERN_C const ENUMDESC s_enumdescHTMLAppFlag;

typedef enum _HTMLMinimizeFlag
{
    HTMLMinimizeFlagNo = 0,
    HTMLMinimizeFlagYes = 0x00020000L,
    HTMLMinimizeFlag_Max = 2147483647L
} HTMLMinimizeFlag;


EXTERN_C const ENUMDESC s_enumdescHTMLMinimizeFlag;

typedef enum _HTMLMaximizeFlag
{
    HTMLMaximizeFlagNo = 0,
    HTMLMaximizeFlagYes = 0x00010000L,
    HTMLMaximizeFlag_Max = 2147483647L
} HTMLMaximizeFlag;


EXTERN_C const ENUMDESC s_enumdescHTMLMaximizeFlag;

typedef enum _HTMLCaptionFlag
{
    HTMLCaptionFlagNo = 0,
    HTMLCaptionFlagYes = 0x00C00000L,
    HTMLCaptionFlag_Max = 2147483647L
} HTMLCaptionFlag;


EXTERN_C const ENUMDESC s_enumdescHTMLCaptionFlag;

typedef enum _HTMLSysMenuFlag
{
    HTMLSysMenuFlagNo = 0,
    HTMLSysMenuFlagYes = 0x00080000L,
    HTMLSysMenuFlag_Max = 2147483647L
} HTMLSysMenuFlag;


EXTERN_C const ENUMDESC s_enumdescHTMLSysMenuFlag;

typedef enum _HTMLBorder
{
    HTMLBorderNone = 0,
    HTMLBorderThick = 0x00040000L,
    HTMLBorderDialog = 0x00400000L,
    HTMLBorderThin = 0x00800000L,
    HTMLBorder_Max = 2147483647L
} HTMLBorder;


EXTERN_C const ENUMDESC s_enumdescHTMLBorder;

typedef enum _HTMLBorderStyle
{
    HTMLBorderStyleNormal = 0,
    HTMLBorderStyleRaised = 0x00000100L,
    HTMLBorderStyleSunken = 0x00000200L,
    HTMLBorderStylecombined = 0x00000300L,
    HTMLBorderStyleStatic = 0x00020000L,
    HTMLBorderStyle_Max = 2147483647L
} HTMLBorderStyle;


EXTERN_C const ENUMDESC s_enumdescHTMLBorderStyle;

typedef enum _HTMLWindowState
{
    HTMLWindowStateNormal = 1,
    HTMLWindowStateMaximize = 3,
    HTMLWindowStateMinimize = 6,
    HTMLWindowState_Max = 2147483647L
} HTMLWindowState;


EXTERN_C const ENUMDESC s_enumdescHTMLWindowState;


#ifndef __IHTMLAppBehavior_INTERFACE_DEFINED__

#define __IHTMLAppBehavior_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLAppBehavior;


MIDL_INTERFACE("3050f5ca-98b5-11cf-bb82-00aa00bdce0b")
IHTMLAppBehavior : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_applicationName(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_applicationName(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_version(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_version(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_icon(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_icon(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_singleInstance(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_singleInstance(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_minimizeButton(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_minimizeButton(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_maximizeButton(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_maximizeButton(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_border(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_border(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_borderStyle(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_borderStyle(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_sysMenu(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_sysMenu(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_caption(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_caption(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_windowState(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_windowState(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_showInTaskBar(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_showInTaskBar(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_commandLine(
         /* [out] */ BSTR * p) = 0;

};

#endif     /* __IHTMLAppBehavior_INTERFACE_DEFINED__ */


#ifndef __IHTMLAppBehavior2_INTERFACE_DEFINED__

#define __IHTMLAppBehavior2_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLAppBehavior2;


MIDL_INTERFACE("3050f5c9-98b5-11cf-bb82-00aa00bdce0b")
IHTMLAppBehavior2 : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_contextMenu(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_contextMenu(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_innerBorder(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_innerBorder(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_scroll(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_scroll(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_scrollFlat(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_scrollFlat(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_selection(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_selection(
         /* [out] */ BSTR * p) = 0;

};

#endif     /* __IHTMLAppBehavior2_INTERFACE_DEFINED__ */


#ifndef __IHTMLAppBehavior3_INTERFACE_DEFINED__

#define __IHTMLAppBehavior3_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLAppBehavior3;


MIDL_INTERFACE("3050f5cd-98b5-11cf-bb82-00aa00bdce0b")
IHTMLAppBehavior3 : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_navigable(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_navigable(
         /* [out] */ BSTR * p) = 0;

};

#endif     /* __IHTMLAppBehavior3_INTERFACE_DEFINED__ */



EXTERN_C const GUID GUID_HTMLAppBehavior;



EXTERN_C const GUID DIID_DispHTMLAppBehavior;


#ifndef _CAppBehavior_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC s_propdescCAppBehaviorapplicationName;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCAppBehaviorversion;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCAppBehavioricon;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorsingleInstance;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorminimizeButton;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviormaximizeButton;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorborder;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorborderStyle;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorsysMenu;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorcaption;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorwindowState;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorshowInTaskBar;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCAppBehaviorcommandLine;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorcontextMenu;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorinnerBorder;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorscroll;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorscrollFlat;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviorselection;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCAppBehaviornavigable;

#endif


#endif /*__htmlapp_h__*/

